<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a onclick="window.open('http://www.runoob.com', '_blank', 'location=yes,height=570,width=520,scrollbars=yes,status=yes');">
  1、点我在新窗口打开页面
</a>


<h2>将会打开页面:open-page.html</h2>
<script>
  function defaultClick() {

  }
  window.open('open-page.html')
  function parentCallback() {
    alert('父窗体弹框')
  }
</script>
</body>
</html>